import {createApp} from 'vue'
import App from './App.vue'
// @ts-ignore
import router from './router/index.js';
// @ts-ignore
import store from './store/index.js';
// 引入通用样式
import "src/assets/css/reSet.css";
// 引入icon库
import "src/assets/css/icon.css";

import "element-plus/dist/index.css";

const app: any = createApp(App);

import ElementPlus from 'element-plus';
import zhCn from "element-plus/lib/locale/lang/zh-cn";
import {Search} from '@element-plus/icons';
import {UploadFilled} from '@element-plus/icons';


app.use(router)
    .use(store)
    .use(ElementPlus, {size: 'mini'})
    .component("Search", Search)
    .component("UploadFilled ", UploadFilled)

app.mount('#app');

app.use(ElementPlus, {
    locale: zhCn,
})